@echo off

REM echo To launch tests press ENTER
REM pause
set XSTREAM_PATH=c:\Project\Xstream\xstream-1.4.4\lib\xstream
set SELENIUM_PATH=C:\Project\SeleniumSS2.33.0
set MYSQL_PATH=c:\Project\git\pft-anikitina\addressbook-web-tests\lib
set CONFIG_FILE=firefox.properties
set TEST_SUITE=test-suite-HW21.xml
set HIBERNATE_PATH=c:\Project\Java\hibernate-release-4.1.9.Final\lib\required

echo Tests launched
java -cp  bin;%HIBERNATE_PATH%\antlr-2.7.7.jar;%HIBERNATE_PATH%\dom4j-1.6.1.jar;%HIBERNATE_PATH%\hibernate-commons-annotations-4.0.1.Final.jar;%HIBERNATE_PATH%\hibernate-core-4.1.9.Final.jar;%HIBERNATE_PATH%\hibernate-jpa-2.0-api-1.0.1.Final.jar;%HIBERNATE_PATH%\javassist-3.17.1-GA.jar;%HIBERNATE_PATH%\jboss-logging-3.1.0.GA.jar;%HIBERNATE_PATH%\jboss-transaction-api_1.1_spec-1.0.0.Final.jar;%MYSQL_PATH%\mysql-connector-java-5.1.26-bin.jar;%XSTREAM%\xpp3_min-1.1.4c.jar;%XSTREAM%\xmlpull-1.1.3.1.jar;%XSTREAM%\xstream-1.4.4.jar;%SELENIUM_PATH%\selenium-server-standalone-2.33.0.jar -DconfigFile=%CONFIG_FILE% org.testng.TestNG %TEST_SUITE%

pause

@echo on